package org.niceHome.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 静沧浪
 */
@Controller
public class FrameController {
    private final static String PAGE_INDEX = "frame/index";
    private final static String PAGE_MAIN = "frame/main";

    @GetMapping("/")
    public String index(){
        return PAGE_INDEX;
    }
    @GetMapping("/main")
    public String main(){
        return PAGE_MAIN;
    }
}
